package com.dream.game.model.quest;

import org.apache.log4j.Logger;

public enum QuestMessage
{
	QComplite("<html><body>I have no task for you right now.</body></html>", 0),
	QDefault("<html><body>I have no task for you right now.</body></html>", 0),

	Q1_name("Letters of Love", 1),
	Q2_name("What Women Want", 2),
	Q3_name("Will the Seal be Broken?", 3),
	Q4_name("Long live the Pa'agrio Lord!", 4),
	Q5_name("Miner's Favor", 5),
	Q6_name("Step into the Future", 6),
	Q7_name("A Trip Begins", 7),
	Q8_name("An Adventure Begins", 8),
	Q9_name("Into the City of Humans", 9),
	Q10_name("Into the World", 10),
	Q11_name("Secret Meeting With Ketra Orcs", 11),
	Q12_name("Secret Meeting With Varka Silenos", 12),
	Q13_name("Parcel Delivery", 13),
	Q14_name("Whereabouts of the Archaeologist", 14),
	Q15_name("Sweet Whispers", 15),
	Q16_name("The Coming Darkness", 16),
	Q17_name("Light and Darkness", 17),
	Q18_name("Meeting with the Golden Ram", 18),
	Q19_name("Go to the Pastureland!", 19),
	Q20_name("Bring Up With Love", 20),
	Q21_name("Hidden Truth", 21),
	Q22_name("Tragedy in von Hellmann Forest", 22),
	Q23_name("Lidia's Heart", 23),
	Q24_name("Inhabitants of the Forest of the Dead", 24),
	Q25_name("Hiding Behind the Truth", 25),
	Q27_name("Chest caught with a bait of wind", 27),
	Q28_name("Chest caught with a bait of icy air", 28),
	Q29_name("Chest caught with a bait of earth", 29),
	Q30_name("Chest caught with a bait of fire", 30),
	Q31_name("Secret Buried in the Swamp", 31),
	Q32_name("An Obvious Lie", 32),
	Q33_name("Make a Pair of Dress Shoes", 33),
	Q34_name("In Search of Cloth", 34),
	Q35_name("Find Glittering Jewelry", 35),
	Q36_name("Make a Sewing Kit", 36),
	Q37_name("Make Formal Wear", 37),
	Q38_name("Dragon Fangs", 38),
	Q39_name("Red-Eyed Invaders", 39),
	Q42_name("Help the Uncle!", 42),
	Q43_name("Help the Sister!", 43),
	Q44_name("Help the Son! ", 44),
	Q45_name("To Talking Island", 45),
	Q46_name("Once More In the Arms of the Mother Tree", 46),
	Q47_name("Into the Dark Forest", 47),
	Q48_name("To the Immortal Plateau", 48),
	Q49_name("The Road Home", 49),
	Q50_name("Lanosco's Special Bait", 50),
	Q51_name("O'Fulle's Special Bait", 51),
	Q52_name("Willie's Special Bait", 52),
	Q53_name("Linnaeus' Special Bait", 53),
	Q70_name("Saga of the Phoenix Knight", 70),
	Q71_name("Saga of Eva's Templar", 71),
	Q72_name("Saga of the Sword Muse", 72),
	Q73_name("Saga of the Duelist", 73),
	Q74_name("Saga of the Dreadnoughts", 74),
	Q75_name("Saga of the Titan", 75),
	Q76_name("Saga of the Grand Khavatari", 76),
	Q77_name("Saga of the Dominator", 77),
	Q78_name("Saga of the Doomcryer", 78),
	Q79_name("Saga of the Adventurer", 79),
	Q80_name("Saga of the Wind Rider", 80),
	Q81_name("Saga of the Ghost Hunter", 81),
	Q82_name("Saga of the Sagittarius", 82),
	Q83_name("Saga of the Moonlight Sentinel", 83),
	Q84_name("Saga of the Ghost Sentinel", 84),
	Q85_name("Saga of the Cardinal", 85),
	Q86_name("Saga of the Hierophant", 86),
	Q87_name("Saga of Eva's Saint", 87),
	Q88_name("Saga of the Archmage", 88),
	Q89_name("Saga of the Mystic Muse", 89),
	Q90_name("Saga of the Storm Screamer", 90),
	Q91_name("Saga of the Arcana Lord", 91),
	Q92_name("Saga of the Elemental Master", 92),
	Q93_name("Saga of the Spectral Master", 93),
	Q94_name("Saga of the Soultaker", 94),
	Q95_name("Saga of the Hell Knight", 95),
	Q96_name("Saga of the Spectral Dancer", 96),
	Q97_name("Saga of the Shillien Templar", 97),
	Q98_name("Saga of the Shillien Saint", 98),
	Q99_name("Saga of the Fortune Seeker", 99),
	Q100_name("Saga of the Maestro", 100),
	Q101_name("Sword of Solidarity", 101),
	Q102_name("Sea of Spores Fever", 102),
	Q103_name("Spirit of Craftsman", 103),
	Q104_name("Spirit of Mirrors", 104),
	Q105_name("Skirmish with the Orcs", 105),
	Q106_name("Forgotten Truth", 106),
	Q107_name("Merciless Punishment", 107),
	Q108_name("Jumble, Tumble, Diamond Fuss", 108),
	Q109_name("In Search of the Nest", 109),
	Q110_name("To the Primeval Isle", 110),
	Q111_name("Elrokian Hunter's Proof", 111),
	Q112_name("Walk of Fate", 112),
	Q113_name("Status of the Beacon Tower", 113),
	Q114_name("Resurrection of an Old Manager", 114),
	Q115_name("The Other Side of Truth", 115),
	Q116_name("Beyond the Hills of Winter", 116),
	Q117_name("The Ocean of Distant Stars", 117),
	Q118_name("To Lead and Be Led", 118),
	Q119_name("Last Imperial Prince", 119),
	Q120_name("Pavel's Research", 120),
	Q121_name("Pavel the Giant", 121),
	Q122_name("Ominous News", 122),
	Q123_name("The Leader and the Follower", 123),
	Q124_name("Meeting the Elroki", 124),
	Q125_name("The Name of Evil - 1", 125),
	Q126_name("The Name of Evil - 2", 126),
	Q151_name("Cure for Fever Disease", 151),
	Q152_name("Shards of Golem", 152),
	Q153_name("Deliver Goods", 153),
	Q154_name("Sacrifice to the Sea", 154),
	Q155_name("Find Sir Windawood", 155),
	Q156_name("Millennium Love", 156),
	Q157_name("Recover Smuggled Goods", 157),
	Q158_name("Seed of Evil", 158),
	Q159_name("Protect the Water Source", 159),
	Q160_name("Nerupa's Request", 160),
	Q161_name("Fruit of the Mothertree", 161),
	Q162_name("Curse of the Underground Fortress", 162),
	Q163_name("Legacy of the Poet", 163),
	Q164_name("Blood Fiend", 164),
	Q165_name("Shilen's Hunt", 165),
	Q166_name("Mass of Darkness", 166),
	Q167_name("Dwarven Kinship", 167),
	Q168_name("Deliver Supplies", 168),
	Q169_name("Offspring of Nightmares", 169),
	Q170_name("Dangerous Seduction", 170),
	Q171_name("Acts of Evil", 171),
	Q211_name("Trial of the Challenger", 211),
	Q212_name("Trial of Duty", 212),
	Q213_name("Trial of the Seeker", 213),
	Q214_name("Trial of the Scholar", 214),
	Q215_name("Trial of the Pilgrim", 215),
	Q216_name("Trial of the Guildsman", 216),
	Q217_name("Testimony of Trust", 217),
	Q218_name("Testimony of Life", 218),
	Q219_name("Testimony of Fate", 219),
	Q220_name("Testimony of Glory", 220),
	Q221_name("Testimony of Prosperity", 221),
	Q222_name("Test of the Duelist", 222),
	Q223_name("Test of the Champion", 223),
	Q224_name("Test of Sagittarius", 224),
	Q225_name("Test of the Searcher", 225),
	Q226_name("Test of the Healer", 226),
	Q227_name("Test of the Reformer", 227),
	Q228_name("Test of Magus", 228),
	Q229_name("Test of Witchcraft", 229),
	Q230_name("Test of the Summoner", 230),
	Q231_name("Test of the Maestro", 231),
	Q232_name("Test of the Lord", 232),
	Q233_name("Test of the War Spirit", 233),
	Q234_name("Fate's Whisper", 234),
	Q235_name("Mimir's Elixir", 235),
	Q241_name("Possessor of a Precious Soul  - 1", 241),
	Q242_name("Possessor of a Precious Soul  - 2", 242),
	Q246_name("Possessor of a Precious Soul  - 3", 246),
	Q247_name("Possessor of a Precious Soul  - 4", 247),
	Q257_name("The Guard is Busy", 257),
	Q258_name("Bring Wolf Pelts", 258),
	Q259_name("Rancher's Plea", 259),
	Q260_name("Hunt the Orcs", 260),
	Q261_name("Collector's Dream", 261),
	Q262_name("Trade with the Ivory Tower", 262),
	Q263_name("Orc Subjugation", 263),
	Q264_name("Keen Claws", 264),
	Q265_name("Chains of Slavery", 265),
	Q266_name("Pleas of Pixies", 266),
	Q267_name("Wrath of Verdure", 267),
	Q271_name("Proof of Valor", 271),
	Q272_name("Wrath of Ancestors", 272),
	Q273_name("Invaders of the Holy Land", 273),
	Q274_name("Skirmish with the Werewolves", 274),
	Q275_name("Dark Winged Spies", 275),
	Q276_name("Totem of the Hestui", 276),
	Q277_name("Gatekeeper's Offering", 277),
	Q291_name("Revenge of the Redbonnet", 291),
	Q292_name("Brigands Sweep", 292),
	Q293_name("The Hidden Veins", 293),
	Q294_name("Covert Business", 294),
	Q295_name("Dreaming of the Skies", 295),
	Q296_name("Tarantula's Spider Silk", 296),
	Q297_name("Gatekeeper's Favor", 297),
	Q298_name("Lizardmen's Conspiracy", 298),
	Q299_name("Gather Ingredients for Pie", 299),
	Q300_name("Hunting Leto Lizardman", 300),
	Q303_name("Collect Arrowheads", 303),
	Q306_name("Crystals of Fire and Ice", 306),
	Q313_name("Collect Spores", 313),
	Q316_name("Destroy Plague Carriers", 316),
	Q317_name("Catch the Wind", 317),
	Q319_name("Scent of Death", 319),
	Q320_name("Bones Tell the Future", 320),
	Q324_name("Sweetest Venom", 324),
	Q325_name("Grim Collector", 325),
	Q326_name("Vanquish Remnants", 326),
	Q327_name("Recover the Farmland", 327),
	Q328_name("Sense for Business", 328),
	Q329_name("Curiosity of a Dwarf", 329),
	Q330_name("Adept of Taste", 330),
	Q331_name("Arrow of Vengeance", 331),
	Q333_name("Hunt of the Black Lion", 333),
	Q334_name("The Wishing Potion", 334),
	Q335_name("Song of the Hunter", 335),
	Q336_name("Coins of Magic", 336),
	Q337_name("Audience with the Land Dragon", 337),
	Q338_name("Alligator  Hunter", 338),
	Q340_name("Subjugation of Lizardmen", 340),
	Q341_name("Hunting for Wild Beasts", 341),
	Q343_name("Under the Shadow of the Ivory Tower", 343),
	Q344_name("1000 years, the End of Lamentation", 344),
	Q345_name("Method to Raise the Dead", 345),
	Q347_name("Go Get the Calculator", 347),
	Q348_name("An Arrogant Search", 348),
	Q350_name("Enhance Your Weapon", 350),
	Q351_name("Black Swan", 351),
	Q352_name("Help Rood Raise A New Pet!", 352),
	Q353_name("Power of Darkness", 353),
	Q354_name("Conquest of Alligator Island", 354),
	Q355_name("Family Honor", 355),
	Q356_name("Dig Up the Sea of Spores!", 356),
	Q357_name("Warehouse Keeper's Ambition", 357),
	Q358_name("Illegitimate Child of A Goddess", 358),
	Q359_name("For Sleepless Deadmen", 359),
	Q360_name("Plunder Their Supplies", 360),
	Q362_name("Bard's Mandolin", 362),
	Q363_name("Sorrowful Sound of Flute", 363),
	Q364_name("Jovial Accordion", 364),
	Q365_name("Devil's Legacy", 365),
	Q366_name("Silver Haired Shaman", 366),
	Q367_name("Electrifying Recharge!", 367),
	Q368_name("Trespassing into the Sacred Area", 368),
	Q369_name("Collector of Jewels", 369),
	Q370_name("An Elder Sows Seeds", 370),
	Q371_name("Shriek of Ghosts", 371),
	Q372_name("Legacy of Insolence", 372),
	Q373_name("Supplier of Reagents", 373),
	Q374_name("Whisper of Dreams, Part 1", 374),
	Q375_name("Whisper of Dreams, Part 2", 375),
	Q376_name("Exploration of the Giants' Cave, Part I", 376),
	Q377_name("Exploration of Giants Cave, Part 2", 377),
	Q378_name("Magnificent Feast", 378),
	Q379_name("Fantasy Wine", 379),
	Q380_name("Bring Out the Flavor of Ingredients!", 380),
	Q381_name("Let's Become a Royal Member!", 381),
	Q382_name("Kail's Magic Coin", 382),
	Q383_name("Searching for Treasure", 383),
	Q384_name("Warehouse Keeper's Pastime", 384),
	Q385_name("Yoke of the Past", 385),
	Q386_name("Stolen Dignity", 386),
	Q401_name("Path to a Warrior", 401),
	Q402_name("Path to a Human Knight", 402),
	Q403_name("Path to a Rogue", 403),
	Q404_name("Path to a Human Wizard", 404),
	Q405_name("Path to a Cleric", 405),
	Q406_name("Path to an Elven Knight", 406),
	Q407_name("Path to an Elven Scout", 407),
	Q408_name("Path to an Elven Wizard", 408),
	Q409_name("Path to an Elven Oracle", 409),
	Q410_name("Path to a Palus Knight", 410),
	Q411_name("Path to an Assassin", 411),
	Q412_name("Path to a Dark Wizard", 412),
	Q413_name("Path to a Shillien Oracle", 413),
	Q414_name("Path to an Orc Raider", 414),
	Q415_name("Path to a Monk", 415),
	Q416_name("Path to an Orc Shaman", 416),
	Q417_name("Path to become a Scavenger", 417),
	Q418_name("Path to an Artisan", 418),
	Q419_name("Get a Pet", 419),
	Q420_name("Drake", 420),
	Q421_name("Little Wing", 421),
	Q422_name("Repent Your Sins", 422),
	Q426_name("Quest for Fishing Shot", 426),
	Q431_name("Wedding March", 431),
	Q432_name("Birthday Party Song", 432),
	Q501_name("Proof of Clan Alliance", 501),
	Q503_name("Pursuit of Clan Ambition!", 503),
	Q504_name("Competition for the Bandit Stronghold", 504),
	Q508_name("A Clan's Reputation", 508),
	Q509_name("The Clan's Prestige", 509),
	Q510_name("A Clan's Reputation", 510),
	Q601_name("Watching Eyes", 601),
	Q602_name("Shadow of Light", 602),
	Q603_name("Daimon the White-Eyed - Part 1", 603),
	Q604_name("Daimon the White-Eyed - Part 2", 604),
	Q605_name("Alliance with Ketra Orcs", 605),
	Q606_name("War with Varka Silenos", 606),
	Q607_name("Prove your courage!", 607),
	Q608_name("Slay the enemy commander!", 608),
	Q609_name("Magical Power of Water - Part 1", 609),
	Q610_name("Magical Power of Water - Part 2", 610),
	Q611_name("Alliance with Varka Silenos", 611),
	Q612_name("War with Ketra Orcs", 612),
	Q613_name("Prove your courage!", 613),
	Q614_name("Slay the enemy commander!", 614),
	Q615_name("Magical Power of Fire - Part 1", 615),
	Q616_name("Magical Power of Fire - Part 2", 616),
	Q617_name("Gather the Flames", 617),
	Q618_name("Into the Flame", 618),
	Q619_name("Relics of the Old Empire", 619),
	Q620_name("Four Goblets", 620),
	Q621_name("Egg Delivery", 621),
	Q622_name("Specialty Liquor Delivery", 622),
	Q623_name("The Finest Food", 623),
	Q624_name("The Finest Ingredients - Part 1", 624),
	Q625_name("The Finest Ingredients - Part 2", 625),
	Q626_name("A Dark Twilight", 626),
	Q627_name("Heart in Search of Power", 627),
	Q628_name("Hunt of the Golden Ram Mercenary Force", 628),
	Q629_name("Clean up the Swamp of Screams", 629),
	Q631_name("Delicious Top Choice Meat", 631),
	Q632_name("Necromancer's Request", 632),
	Q633_name("In the Forgotten Village", 633),
	Q634_name("In Search of Fragments of Dimension", 634),
	Q635_name("In the Dimensional Rift", 635),
	Q636_name("Truth Beyond the Gate", 636),
	Q637_name("Through the Gate Once More", 637),
	Q638_name("Seekers of the Holy Grail", 638),
	Q639_name("Guardians of the Holy Grail", 639),
	Q640_name("The Zero Hour", 640),
	Q641_name("Attack Sailren!", 641),
	Q642_name("A Powerful Primeval Creature", 642),
	Q643_name("Rise and Fall of the Elroki Tribe", 643),
	Q644_name("Grave Robber Annihilation", 644),
	Q645_name("Ghosts of Batur", 645),
	Q646_name("Signs of Revolt", 646),
	Q647_name("Influx of Machines", 647),
	Q648_name("An Ice Merchant's Dream", 648),
	Q649_name("A Looter and a Railroad Man", 649),
	Q650_name("A Broken Dream", 650),
	Q651_name("Runaway Youth", 651),
	Q652_name("An Aged Ex-Adventurer", 652),
	Q653_name("Wild Maiden", 653),
	Q654_name("Journey to a Settlement", 654),
	Q655_name("A Grand Plan for Taming Wild Beasts", 655),
	Q659_name("I'd Rather Be Collecting Fairy Breath", 659),
	Q660_name("Aiding the Floran Village.", 660),
	Q661_name("Making the Harvest Grounds Safe", 661),
	Q662_name("A Game of Cards", 662),
	Q663_name("Seductive Whispers", 663),
	Q688_name("Defeat the Elrokian Raiders!", 688);

	protected static Logger _log = Logger.getLogger(Quest.class.getName());

	public static final QuestMessage getQuestMessageById(int id)
	{

		for (QuestMessage sm : QuestMessage.values())
			if (sm._id == id)
			{
				sm._isRegistered = true;
				return sm;
			}
		return null;
	}

	public static final void showNotRegQuest()
	{
		for (QuestMessage sm : QuestMessage.values())
			if (!sm._isRegistered && sm._id > 0)
			{
				_log.info("Quest " + sm._id + " not registered !");
			}
	}

	private final String _str;

	private final int _id;

	public boolean _isRegistered = false;

	private QuestMessage(String str, int id)
	{
		_str = str;
		_id = id;
	}

	public final String get()
	{
		return _str;
	}
}